package com.linkhub.oms.admin.modules.user.service.impl;

import com.linkhub.oms.admin.modules.user.service.UserRoleBizService;
import com.linkhub.oms.dao.mpservice.IUserRoleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: UserRoleBizService
 * @Author: echo
 * @Date: 2024/3/9 12:54
 * @Version: 1.0
 */
@Slf4j
@Service
public class UserRoleBizServiceImpl implements UserRoleBizService {

    @Resource
    private IUserRoleService userRoleService;
    @Override
    public List<String> getUserRoles(String userId) {
        return userRoleService.listUserRoleCodes(userId);
    }
}
